package org.zzh.service.cargo.contractProduct;

import org.zzh.dao.common.PageBean;
import org.zzh.domain.cargo.contractProduct.CoContractProduct;

import java.util.List;

public interface CoContractProductService {

    PageBean<CoContractProduct> list(Integer page, Integer pageSize, String contractId);

    void deleteByContractIds(String[] ids);

    void delete(String id);

    CoContractProduct findById(String id);

    void edit(CoContractProduct contractProduct);

    void deleteById(String id);

    void addCoContractProductList(List<CoContractProduct> list,  String contractId);
}
